bady{
  margin: 0;
}

a{
  text-decoration: none;
}

.clearfix::after{
  content: " ";
  display: block;
  clear: both;
}

.tab-wrap{
  width: 500px;
  margin: 50px auto;
}

.tab{
  height: 50px;
}
.tab .tab-item{
  height: 50px;
  width: 80px;
  float: left;
  line-height: 50px;
}
.tab .tab-item.cur a{
  background-color: #000;
  color: #fff;
}
.tab .tab-item a{
  display: block;
  color: black;
  text-align: center;
}

.page{
  height: 450px;
  border: 1px solid black;
  position: relative;
}
.page .page-item{
  position: absolute;
  font-size: 80px;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  display: none;
}
.page .page-item.active{
  display: block;
}